package com.github.phoenics.militia.bazookaFx.model;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * @author Phoenics Chow
 * on 2019年01月30日
 */
public class SchemaNameViewModel implements IModel {
    private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(SchemaNameViewModel.class);
    private StringProperty schemaName=new SimpleStringProperty();

    @Override
    public void clear() {
        setSchemaName(null);
    }

    public String getSchemaName() {
        return schemaName.get();
    }

    public StringProperty schemaNameProperty() {
        return schemaName;
    }

    public void setSchemaName(String schemaName) {
        this.schemaName.set(schemaName);
    }
}
